home *** CD-ROM | disk | FTP | other *** search
- healthscore = Math.floor(_root.health) * 100;
- if(_root.gates > 0)
- {
- targetscore = 0;
- dietext = _root.gates.toString() + " Gate(s) left";
- }
- else
- {
- targetscore = 2500;
- dietext = "";
- }
- totalscore = basescore + _root.bonus + healthscore + targetscore;
- stopAllSounds();
- points = totalscore;
- bike._rotation = 0;
- bike._x = 0;
- bike._y = bike.y;
- bike.xspeed = 0;
- bike.x = 0;
- land.road.x = 0;
- land._rotation = 0;
-